<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            border: medium double rgb(250, 0, 255);
            background-color: #000;
        }

        .first {
            border: 1px solid rgb(187, 187, 187);
            text-align: center;
            margin-top: 50px;
            float: left;
        }

        .first1 {
            border: 1px solid rgb(187, 187, 187);
            text-align: center;
            margin-left: 50px;
            margin-top: 50px;
            float: left;
        }

        .first2 {
            border: 1px solid rgb(187, 187, 187);
            text-align: center;
            margin-left: 50px;
            margin-top: 50px;
            float: left;
        }

        .first3 {
            border: 1px solid rgb(187, 187, 187);
            text-align: center;
            margin-left: 50px;
            margin-top: 50px;
            float: left;
        }

        .first4 {
            border: 1px solid rgb(187, 187, 187);
            text-align: center;
            margin-top: 50px;
            float: left;
        }

        .first5 {
            border: 1px solid rgb(187, 187, 187);
            text-align: center;
            margin-left: 50px;
            margin-top: 50px;
            float: left;
        }

        .first6 {
            border: 1px solid rgb(187, 187, 187);
            text-align: center;
            margin-left: 50px;
            margin-top: 50px;
            float: left;
        }

        .first7 {
            border: 1px solid rgb(187, 187, 187);
            text-align: center;
            margin-left: 50px;
            margin-top: 50px;
            float: left;
        }

        .cl {
            color: red;
            font-style: italic;
        }
    </style>
</head>

<body>
    <div>
        <div class="first" style="width: 20%;">
            <div>
                <img src="image/小米1.jpg" alt="小米手机">
            </div>
            <div>
                <p>小米10 青春版 5G</p>
                <p>50倍潜望式变焦/轻薄5G手机</p>
                <p><em>2099元起</p>
            </div>
        </div>
        <div class="first1" style="width: 20%;">
            <div>
                <img src="image/2.jpg" alt="小米手机">
            </div>
            <div>
                <p>小米10</p>
                <p>骁龙865/1亿像素相机</p>
                <p><span class="cl">3799元起</span><s><em>3999元</span3999元>
                </p>
            </div>
        </div>
        <div class="first2" style="width: 20%;">
            <div>
                <img src="image/3.jpg" alt="小米手机">
            </div>
            <div>
                <p>小米10</p>
                <p>骁龙865/1亿像素相机</p>
                <p><span class="cl">3799元起</span><s><em>2999元</s></p>
            </div>
        </div>
        <div class="first3" style="width: 20%;">
            <div>
                <img src="image/4.jpg" alt="小米手机">
            </div>
            <div>
                <p>小米10</p>
                <p>骁龙865/1亿像素相机</p>
                <p>3799元起</p>
            </div>
        </div>
        <div class="first4" style="width: 20%;">
            <div>
                <img src="image/5.jpg" alt="小米手机">
            </div>
            <div>
                <p>小米10 青春版 5G</p>
                <p>50倍潜望式变焦/轻薄5G手机</p>
                <p>2099元起</p>
            </div>
        </div>
        <div class="first5" style="width: 20%;">
            <div>
                <img src="image/6.jpg" alt="小米手机">
            </div>
            <div>
                <p>小米10</p>
                <p>骁龙865/1亿像素相机</p>
                <p><span class="cl">3799元起</span><s><em>3999元</s></p>
            </div>
        </div>
        <div class="first6" style="width: 20%;">
            <div>
                <img src="image/7.jpg" alt="小米手机">
            </div>
            <div>
                <p>小米10</p>
                <p>骁龙865/1亿像素相机</p>
                <p><span class="cl">3799元起</span><s><em>2999元</s></p>
            </div>
        </div>
        <div class="first7" style="width: 20%;">
            <div>
                <img src="image/8.jpg" alt="小米手机">
            </div>
            <div>
                <p>小米10</p>
                <p>骁龙865/1亿像素相机</p>
                <p>3799元起</p>
            </div>
        </div>
    </div>

</body>

</html>